-- To plot an expression, specify the range of X values and an expression for Y. Clicking the mouse on the plot will show the trace number and the X,Y value of the plotted point nearest to the click.
Xmin=-10
Xmax=10
plot X^2
-- The plot command steps the special variable X (upper case) between Xmin and Xmax and plots the resulting values. Aribtrary expressions can be built using variables and/or functions.
y = t^3
t = X
plot y
f(u) = -u^3
plot f(X)
-- You can control the range of Y values shown by setting Ymin and Ymax. If Ymin and Ymax are not specified, MathPad will auto range.